#!/usr/bin/env python3
# Servicenow (Enterprise only)
# Bulk: no

# Copyright (C) 2019 Checkmk GmbH - License: GNU General Public License v2
# This file is part of Checkmk (https://checkmk.com). It is subject to the terms and
# conditions defined in the file COPYING, which is part of this source code package.

import sys

try:
    from cmk.cee.notification_plugins import (  # type: ignore[import-untyped, unused-ignore]
        servicenow,
    )
except ImportError:
    sys.stderr.write("ServiceNow notification script is only available with CEE / CME\n")
    sys.exit(1)

if __name__ == "__main__":
    sys.exit(servicenow.main())  # type: ignore[no-untyped-call, unused-ignore]
